﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ProjectHK3.Object_One;
namespace ProjectHK3.Object_One
{
    public partial class Site1 : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                String a = Session["Admin"].ToString();
                _lbtUserName.Text = a;
            }
            catch (Exception ez)
            {
                Response.Redirect("../Object One/Login.aspx");
            }
        }

        protected void _lbtUserName_Click(object sender, EventArgs e)
        {
            Response.Redirect("../Object One/AdminDetail.aspx");
        }
    }
}